package com.yuyue.dronesystem.repository;

import java.util.List;

import com.yuyue.dronesystem.entities.Site;
import com.yuyue.dronesystem.enums.PlaceType;

import org.springframework.data.jpa.repository.JpaRepository;

/**
 * SiteRepository
 */
public interface SiteRepository extends JpaRepository<Site,Integer> {

    List<Site> findByType(PlaceType type);
}